<template>
  <div class="ek-captchas-normal">
    <img :src="url" :width="width" :height="height" @click="getImg">
  </div>
</template>

<script setup>
import {
  ref,
} from "vue";
const props = defineProps({
  // 画布宽度
  width: {
    type: Number,
    default: '',
  },
  // 画布高度
  height: {
    type: Number,
    default: '',
  },
});
const url = ref(null);
const getImg = () => {
  url.value = 'https://app.qinglanguoji.cn/business/login/verify?time='+new Date().getTime();
}
getImg();
</script>
<style scoped lang="scss">
.ek-captchas-normal {
  display: flex;
  align-items:center;
}
</style>
